/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 涛
 * Date: 2023-10-03
 * Time: 12:58
 */
public interface IMyStack {
    //存放元素
    public void push(int x);
    //出栈
    public int pop();
    //查看栈最上面的元素
    public int peek();
    //求长度
    public int size();
    //判断栈是否为空
    public boolean empty();
    //栈是否满
    public boolean isFull();
}
